Systems and methods for combinatorial resource optimization

ABSTRACT

Horizontally-scalable systems and methods for scheduling and optimizing deliveries are described herein. At least one scheduler is configured to receive a request to schedule a delivery for an origination location. The request includes a desired time slot. The request is compared to a persistent delivery snapshot for the origination location to determine availability of the desired time slot. An interim delivery snapshot including the requested delivery is generated when the persistent delivery snapshot has an available time slot corresponding to the desired time slot. At least one optimizer is configured to receive the interim delivery snapshot and generate an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation-in-part of U.S. patent application Ser. No. 15/876,007, filed Jan. 19, 2018, and entitled “SYSTEMS AND METHODS FOR COMBINATORIAL RESOURCE OPTIMIZATION,” which is incorporated herein in its entirety.

TECHNICAL FIELD

This application relates generally to combinatorial resource optimization, and more particularly, relates to optimizing delivery routes in a goods delivery system.

BACKGROUND

At least some known systems and industries provide delivery services to their customers. For example, some industries provide the delivery of goods, such as grocery items, to their customers, which has increasingly become a method by which consumers obtain their grocery needs. For grocery delivery services, the use of delivery vehicle resources can be optimized in order to achieve an efficient and profitable grocery delivery service. One particular optimization solution or system is resource optimization and vehicle routing (ROVR), which is designed to optimize grocery delivery routes based on a number of factors in order to make efficient use of delivery vehicle resources.

However, current solutions, including ROVR cannot scale to handle large order sizes (e.g., 2000 or more orders per day). As the number of delivery orders increases, the combinatorial space to be explored (i.e., the complexity of the optimization problem) increases exponentially. For example, doubling the number of orders may result in an exponential increase in the number of alternative delivery routes that are explored and/or considered. In addition, computational resources become bottlenecked, as the time required to optimize delivery routes increases once the number of orders becomes larger. For example, a single optimization can take longer than three minutes, which may significantly affect an optimization system's ability to allocate computation resources to other stores among a collection of hundreds of stores.

SUMMARY OF THE INVENTION

In various embodiments, a system including a computing device is disclosed. The computing device is configured to define at least one scheduler and at least one optimizer. The at least one scheduler is configured to receive a request to schedule a delivery for an origination location. The request includes a desired time slot. The request is compared to a persistent delivery snapshot for the origination location to determine availability of the desired time slot. An interim delivery snapshot including the requested delivery is generated when the persistent delivery snapshot has an available time slot corresponding to the desired time slot. The at least one optimizer is configured to receive the interim delivery snapshot and generate an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot

In various embodiments, a method is disclosed. The method includes the step of defining a plurality of schedulers and a plurality of optimizers. A request to schedule a delivery for predetermined first origination location is received at a selected one of the plurality of schedulers. The request includes a desired time slot. The selected one of the plurality of schedulers compares the request to a persistent delivery snapshot for the first origination location to determine availability of the desired time slot and generates an interim delivery snapshot including the requested delivery when the persistent delivery snapshot has an available time slot corresponding to the desired time slot. A selected one of the plurality of optimizers receives the interim delivery snapshot and generates an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.

In various embodiments, a non-transitory computer readable medium having instructions stored thereon is disclosed. The instructions, when executed by a processor cause a device to perform operations including defining a plurality of schedulers and a plurality of optimizers. A selected one of the plurality of schedulers receives a request to schedule a delivery for predetermined first origination location. The request includes a desired time slot. The selected one of the plurality of schedulers compares the request to a persistent delivery snapshot for the first origination location to determine availability of the desired time slot and generates an interim delivery snapshot including the requested delivery when the persistent delivery snapshot has an available time slot corresponding to the desired time slot. A selected one of the plurality of optimizers receives the interim delivery snapshot and generates an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A illustrates an exemplary system in accordance with some embodiments of the present disclosure.

FIG. 1B illustrates an exemplary computing device that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 1C illustrates an exemplary memory for storing instructions for executing steps of a method that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 2 illustrates an exemplary diagram of vehicle availability that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 3A illustrates an exemplary diagram of a route map for one or more delivery vehicles prior to assigning a delivery route or option that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 3B illustrates an exemplary diagram of the route map for one or more delivery vehicles after assigning the delivery route that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 4A illustrates an exemplary diagram of a plurality of delivery routes prior to optimization that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 4B illustrates an exemplary diagram of the plurality of delivery routes during optimization that may be used with the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 5 illustrates a flow diagram of a method for optimizing a plurality of vehicle resources during delivery of goods using the system shown in FIG. 1A, in accordance with some embodiments of the present disclosure.

FIG. 6 illustrates an exemplary diagram of a horizontally-saleable system configured to provide routing capability and resource optimization, in accordance with some embodiments of the present disclosure.

FIG. 7 illustrates an exemplary flow diagram of a method of periodic optimization, in accordance with some embodiments of the present disclosure.

FIG. 8 illustrates an exemplary diagram of an optimization layer of the system of FIGS. 1A-1C, in accordance with some embodiments of the present disclosure.

DETAILED DESCRIPTION

As discussed above, existing solutions or systems for resource optimization cannot scale to handle large numbers of orders and do not enable sufficient flexibility with computational resources. The embodiments described herein facilitate the efficient optimization of resources in large-scale delivery systems. The embodiments described herein include, for example, the estimation of a number of available time windows for a delivery, and the presenting of available time windows to a user. The embodiments also include the determination of delivery routes for one or more vehicles and the subsequent optimization of the determined delivery routes. Although the embodiments described herein illustrate delivery resource optimization systems and methods used for the delivery of grocery goods or items, the embodiments discussed herein are not limited to such systems and methods and one of ordinary skill in the art will appreciate that the current disclosure may be used in connection with any type of system or method that addresses various different types of combinatorial optimization problems.

FIG. 1A illustrates a system 100 in accordance with exemplary embodiments of the present disclosure. System 100 may be utilized, for example, in optimizing the use of a plurality of vehicles (not shown) in delivering groceries to users. System 100 may include a server 105, one or more user terminals, such as terminals 120, 125, and 130, and a vehicle server 128, that are each coupled to server 105. System 100 may further include vehicles 128 a-128 c which are each communicatively coupled to vehicle server 128 and may receive delivery order assignments and delivery routes from server 105 via the vehicle server 128. It should be noted that, as used herein, the term “couple” is not limited to a direct mechanical, communicative, and/or an electrical connection between components, but may also include an indirect mechanical, communicative, and/or electrical connection between two or more components or a coupling that is operative through intermediate elements or spaces.

Server 105, user terminals 120, 125, and 130, and vehicle server 128 can each be a computing device that can be, for example, a desktop computer, laptop, mobile device, tablet, thin client, or other device having a communications interface (not shown) that can communicate with other components of system 100, as explained in more detail below with respect to FIG. 1B.

In some embodiments, server 105 is associated with a retail store, for example a grocery store. Server 105 may include information about the retail items that are available from the retail store. For example, server 105 can maintain a database (such as database 160 shown in FIG. 1B) that includes details on the various retail items available from the retail store, the quantity of each item available from the retail store, the price of each item, and (if applicable) an amount of time before a particular retail item will perish after leaving the store (e.g. milk or fresh fruits). As will be discussed in further detail with respect to FIG. 2, server 105 may also maintain a database of vehicle availability which it may use to determine available time slots from the plurality of vehicles for presentation to a user (e.g. via user terminals 120, 125, and 130).

In some embodiments, vehicle server 128 enables communication between server 105 and each of the vehicles 128 a-128 c. As server 105 determines delivery order assignments and delivery routes (as discussed in more detail below), server 105 may communicate these assignments and routes to vehicle server 128, which may in turn communicate the assignments and routes to the corresponding vehicle. Vehicle server 128 may transmit information regarding a plurality of time slots for each of the vehicles in the plurality of vehicles to server 105. For example, vehicle server 128 may transmit information regarding the number of time slots a vehicle has per delivery route, the length of each time slot, and other pertinent information regarding the plurality of time slots for each vehicle 128 a-128 c. In some embodiments, the functions of the vehicle server 128 may be performed by server 105. In some embodiments, information regarding the plurality of time slots for each vehicle 128 a-128 c may be maintained by the vehicle server 128, the server 105, and/or any other suitable system. Assignments and routes may be calculated by the server 105 and provided to the vehicles 128 a-128 c once a final assignment and route is determined.

In some embodiments, each user terminal 120, 125, and 130, can be accessed by a user to enable the user to communicate with server 105. Each user terminal 120, 125, and 130 may be capable of connecting to and communicating with server 105 via network 135 (for example, via the internet). The user can use terminals 120, 125, and 130 for accessing information from server 105, such as the retail items that are available for purchase and available delivery time slots, as discussed in more detail herein.

During operation, as explained in more detail below with respect to FIGS. 1A, 2, 3A, 3B, 4A, 4B, and 5-8, system 100 can be used to facilitate the efficient delivery of goods, such as grocery and/or other retail items. For example, server 105 may receive delivery orders from user terminals 120-130 via network 135. Such orders may be received from a variety of locations. As discussed above, although discussed in terms of retail delivery, the embodiments described herein may be utilized to solve any combinatorial optimization problem. Upon receiving a delivery order from any of user terminals 120-130, server 105 may assign the delivery order to an appropriate vehicle among the plurality of vehicles 128 a-128 c and determine an appropriate delivery route for that vehicle based on one or more delivery parameters. Server 105 may transmit the assignment and route information to the appropriate delivery vehicle via vehicle server 128.

FIG. 1B is a block diagram of an exemplary computing device 110, which may be used to implement one or more of server 105, user terminals 120, 125, and 130, and/or vehicle server 128 (shown in FIG. 1A). In some embodiments, computing device 110 includes a hardware unit 126 and software 127. Software 127 can run on hardware unit 126 such that various applications or programs can be executed on hardware unit 126 by way of software 127. In some embodiments, the functions of software 127 can be implemented directly in hardware unit 126, e.g., as a system-on-a-chip, firmware, field-programmable gate array (“FPGA”), etc. In some embodiments, hardware unit 126 includes one or more processors, such as processor 131. In some embodiments, processor 131 is an execution unit, or “core,” on a microprocessor chip. In some embodiments, processor 131 may include a processing unit, such as, without limitation, an integrated circuit (“IC”), an ASIC, a microcomputer, a programmable logic controller (“PLC”), and/or any other programmable circuit. Alternatively, processor 131 may include multiple processing units (e.g., in a multi-core configuration). The above examples are exemplary only, and, thus, are not intended to limit in any way the definition and/or meaning of the term “processor.”

Hardware unit 126 also includes a system memory 132 that is coupled to processor 131 via a system bus 234. Memory 132 can be a general volatile RAM. For example, hardware unit 126 can include a 32 bit microcomputer with 2 Mbit ROM and 64 Kbit RAM, and/or a few GB of RAM. Memory 132 can also be a ROM, a network interface (NIC), and/or other device(s).

In some embodiments, computing device 110 can also include at least one media output component or display interface 136 for use in presenting information to a user. Display interface 136 can be any component capable of conveying information to a user and may include, without limitation, a display device (not shown) (e.g., a liquid crystal display (“LCD”), an organic light emitting diode (“OLED”) display, or an audio output device (e.g., a speaker or headphones)). In some embodiments, computing device 110 can output at least one desktop, such as desktop 140. Desktop 140 can be an interactive user environment provided by an operating system and/or applications running within computing device 110, and can include at least one screen or display image, such as display image 142. Desktop 140 can also accept input from a user in the form of device inputs, such as keyboard and mouse inputs. In some embodiments, desktop 140 can also accept simulated inputs, such as simulated keyboard and mouse inputs. In addition to user input and/or output, desktop 140 can send and receive device data, such as input and/or output for a FLASH memory device local to the user, or to a local printer.

In some embodiments, display image 142 can be presented to a user on computer displays of a remote terminal (not shown). For example, computing device 110 can be connected to one or more remote terminals (not shown) or servers (not shown) via a network (not shown), wherein the network can be the Internet, a local area network (“LAN”), a wide area network (“WAN”), a personal area network (“PAN”), or any combination thereof, and the network can transmit information between computing device 110 and the remote terminals or the servers, such that remote end users can access the information from computing device 110.

In some embodiments, computing device 110 includes an input or a user interface 150 for receiving input from a user. User interface 150 may include, for example, a keyboard, a pointing device, a mouse, a stylus, a touch sensitive panel (e.g., a touch pad or a touch screen), a gyroscope, an accelerometer, a position detector, and/or an audio input device. A single component, such as a touch screen, may function as both an output device of the media output component and the input interface. In some embodiments, mobile devices, such as tablets, can be used.

Computing device 110, in some embodiments, can include a database 160 within memory 132, such that various information can be stored within database 160. Alternatively, in some embodiments, database 160 can be included within a remote server (not shown) with file sharing capabilities, such that database 160 can be accessed by computing device 110 and/or remote end users. In some embodiments, a plurality of computer-executable instructions can be stored in memory 132, such as one or more computer-readable storage media 170 (only one being shown in FIG. 1B). Computer storage medium 170 includes non-transitory media and may include volatile and nonvolatile, removable and non-removable mediums implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. The instructions may be executed by processor 131 to perform various functions described herein, e.g., steps of the method shown in FIG. 5.

FIG. 1C illustrates an example of computer-executable instructions that can be stored in memory 132 as software (SW) modules. Memory 132 may include the following SW modules: (1) an availability window estimator SW module 132 a that is configured to determine a number of available time slots for delivery of groceries; (2); a map engine SW module 132 b that is configured to assign delivery orders to vehicles and determine the sequence in which a particular vehicles orders will be delivered (delivery route); (3) an optimization SW module 132 c that is configured to optimize the delivery route for each vehicle having at least one delivery order assigned to it.

Memory 132 may further store map data 132 d of the geographic area serviced by one or more store fronts as well as a vehicle availability database 132 e that stores a snapshot of the current capacity of each vehicle in the plurality of vehicles and the time slots each vehicle has available.

Referring back to FIG. 1A, in some embodiments, server 105 may determine and present a number of available delivery time slots to a user. More specifically, server 105 may generate a synthetic order and compare the synthetic order to a snapshot of the plurality of vehicles (as described below with respect to FIG. 2) retrieved from, for example, vehicle availability database 132 e (shown in FIG. 1C). Server 105 may identify the time slots having at least one of the plurality of vehicles available for delivery during that time slot and communicate those time slots to the user via user terminals 120-130. For example, vehicle server 128 may transmit information regarding the number of time slots each vehicle has, and the length of each time slot. Server 105 may determine which vehicles among the plurality of vehicles has sufficient capacity to accommodate the synthetic order. Upon determining which vehicles have sufficient capacity, server 105 may insert the synthetic order into each time slot in each of the vehicles having sufficient capacity. For each time slot the synthetic order is inserted into, server 105 may determine whether the insertion is feasible. In other words, server 105 may determine if all of the vehicle's other delivery orders can be met (e.g. delivered on time) if the synthetic order is inserted into that time slot and remove those time slots that would result in the vehicle being unable to fulfill one or more of its previously scheduled deliveries. Alternatively, in some embodiments, the server 105 may receive a request for a delivery from a user terminal 120-130 including a desired time slot. The server 105 may attempt to update the snapshot to include the delivery received from the user terminal 120-130 at the desired time slot.

FIG. 2 illustrates a snapshot 200 of the time slot availability of a plurality of vehicles 205, 210, 215, and 220. The plurality of vehicles 205, 210, 215, and 220 are each associated with a predetermined origination point for the deliveries, such as, for example, a retail store or location, a warehouse, a delivery hub, etc. Although embodiments including four vehicles 205, 210, 215, and 220 are illustrated, it will be appreciated that each predetermined origination point can have any number of vehicles associated therewith. Snapshot 200 may be updated by the server 105 to include received deliveries. Alternatively, in some embodiments, the server 105 may generate an interim snapshot that is provided to an optimizer and/or an optimization queue for optimization, as discussed in greater detail below. Each vehicle 205, 210, 215, and 220 may have 4 available time slots (ranging from 1 PM to 9 PM). It should be noted that time slots of any appropriate length and/or time may be used. As shown in FIG. 2, vehicle 205 has time slots 205 a-205 d while vehicle 210 has time slots 210 a-210 d etc. In the example of FIG. 2, vehicle 210 may not have any capacity, thus server 105 may refrain from assigning any further delivery orders to it. In addition, none of the vehicles 205-225 may have availability in the 1 PM-3 PM time slot, while only vehicle 225 has availability in the 5 PM-7 PM time slot, corresponding to time slot 225 c. Thus, in the example of FIG. 2, server 105 may present three time slots (3 PM-5 PM, 5 PM-7 PM, and 7 PM-9 PM) to a customer wishing to place a delivery order.

Referring back to FIG. 1A, upon receiving a delivery order indicating a delivery address and a selected time slot, server 105 (such as a scheduler implemented by the server 105 as discussed below in conjunction with FIGS. 6-8) may determine a delivery route for one or more vehicles 205, 210, 215, and 220 in the plurality of vehicles. More specifically, server 105 may assign a received delivery order is to a selected one of the plurality of vehicles 205, 210, 215, and 220, re-assign one or more to orders a different vehicle 205, 210, 215, and 220 in order to optimize vehicle resources, and/or sequence each vehicle's 205, 210, 215, and 220 assigned delivery orders to minimize cost. In some embodiments, server 105 is configured to assign the received delivery order to, and determine a delivery route for, a vehicle 205, 210, 215, and 220 from the plurality of vehicles 205, 210, 215, and 220 based on the selected time slot of the received order, map data 132 d, and/or an overall cost that is a function of a number of delivery parameters. In some embodiments, server 105 may re-assign delivery orders to, and determine delivery routes for, other vehicles in the plurality of vehicles 205, 210, 215, and 220 based on the selected time slot of the received order, map data 132 d, and/or an overall cost that is a function of a number of delivery parameters. Examples of such delivery parameters may include, but are not limited to, number of vehicles from the plurality needed to deliver all orders, total number of miles driven by the vehicles during delivery, total driving time of the vehicles during delivery, total amount of idle time of the vehicles during delivery, and degree of lateness in delivering an order (if any) among others. Server 105 may utilize a meta-heuristic algorithm, such as simulated annealing, in order to determine which vehicle the received delivery order is to be assigned to, as well as the sequence in which that vehicle's delivery orders are to be delivered. In addition, server 105 may utilize the meta-heuristic algorithm to determine whether certain delivery orders need to be re-assigned to a different vehicle in order to optimize vehicle resources, and the sequence in which each vehicle's assigned delivery orders will be delivered (delivery route). In some embodiments, server 105 may assign a particular weight to each delivery parameter when assigning delivery orders and determining delivery routes for the one or more vehicles. For example, server 105 may assign total mileage the largest weight, and thus may assign delivery orders to and determine delivery routes for the one or more vehicles from the plurality of vehicles based primarily on reducing the total miles driven by the one or more vehicles, as this will have the largest impact on the overall cost. In this way, server 105 may determine one or more delivery routes.

FIG. 3A illustrates a delivery route map 300 for a first and second delivery vehicle in accordance with some embodiments of the present disclosure. Delivery route 305 may indicate the delivery route of the first vehicle, while delivery route 310 may indicate the delivery route of the second vehicle. Delivery order 315 may indicate the delivery address of a delivery order that is yet to be assigned to a particular vehicle. As an initial matter, server 105 may determine that assigning delivery order 315 to the first delivery vehicle for delivery in the same time slot as delivery number 2 will not prevent the first delivery vehicle from completing any of its subsequent deliveries on time. Server 105 may make a similar determination with respect to assigning delivery order 315 to the second delivery vehicle for delivery in the time slot for its delivery number 2. In addition, server 105 may determine that the delivery address of delivery order 315 is in close proximity to the delivery address of delivery number two for the first delivery vehicle and is also relatively far from any of the delivery addresses in the second vehicles delivery route 310. Thus, server 105 may determine that the total number of miles required to be driven will be minimized if delivery order 315 is assigned to the first delivery vehicle for delivery after delivery number 2. Server 105 may also determine that the number of miles driven can be further reduced if the first delivery vehicle delivers delivery order 315 after its current delivery number two (as delivery number two is on the way). Therefore, server 105 may assign delivery order 315 to the first delivery vehicle, and sequence it for delivery right after delivery number 2. FIG. 3B illustrates the new delivery route for the first delivery vehicle.

In some embodiments, server 105 may further optimize each vehicle's delivery route. Server 105 may utilize any suitable local search algorithm, such as 1-0 exchange in order to calculate an optimized delivery route for each vehicle. Server 105 may randomly select a delivery order from among the plurality of delivery routes, and iteratively insert the randomly selected delivery order into one or more randomly selected time slots from the plurality of delivery routes. Server 105 may then determine the cost effect of each insertion. In some embodiments, server 105 may insert the randomly selected delivery order into every time slot from the plurality of delivery routes and calculate the cost effect of every insertion. In still other embodiments, server 105 may determine which routes among the plurality of delivery routes have available time slots that overlap with the time slot of the randomly selected delivery order. Server 105 may only insert the randomly selected delivery order into those routes having an available time slot that overlaps with the time slot of the randomly selected delivery order. Server 105 may insert the randomly selected delivery order into the time slot resulting in the largest reduction in overall cost. In some embodiments, server 105 may perform multiple iterations of the above described process to further optimize each vehicle's delivery route.

FIG. 4A illustrates delivery routes for three vehicles. Server 105 may randomly select delivery order 405 corresponding to delivery number 3 in vehicle one's delivery route. Server 105 may then randomly select the time slot of delivery order 410 corresponding to delivery number 3 in vehicle two's delivery route and insert delivery order 405 into the time slot containing delivery order 410. FIG. 4B illustrates the updated delivery routes after the insertion by server 105. Server 105 may calculate the cost effect of inserting delivery order 405 into delivery order 410's slot as illustrated in FIG. 4B. More specifically, server 105 may determine the cost effect based on an increase or decrease (if any) in the total number of miles driven by each vehicle during delivery, total driving time for each vehicle during delivery, total amount of idle time for each vehicle during delivery, number of trucks needed to deliver all orders, and degree of lateness (if any) based on inserting delivery order 405 into delivery order 410's time slot. As discussed above, in some embodiments, certain factors (e.g. total mileage, degree of lateness) may have been assigned a greater weight, and therefore even relatively small increases in those factors may result in a significantly larger overall cost. Server 105 may iteratively insert delivery order 405 into one or more random time slots and calculate the cost effect of each such insertion. Server 105 may reassign delivery order 405 to the time slot resulting in the largest reduction in overall cost. If no time slot would result in a reduction of overall cost, server 105 may refrain from reassigning delivery order 405.

Referring back to FIG. 1, in some embodiments, server 105 may assign degree of lateness a relatively heavy weight, as a late delivery can result in severe consequences (e.g. easily perishable goods going bad). However, a certain degree of lateness may be tolerable if a significant improvement in one or more other parameters is achieved by an insertion. For example, if an improvement in the overall cost due to a relatively large reduction in total mileage driven by all vehicles is achieved, and the degree of lateness will not result in goods of a delivery order perishing, then server 105 may allow the insertion (if the cost effect is superior to the cost effect of other insertions).

In some embodiments, server 105 may generate an updated snapshot of time slot availability for the plurality of vehicles and store the updated snapshot in vehicle availability database 132 e for presentation to online users and/or transmission to the vehicles 128-128 c. The updated snapshot may be based on the optimized delivery routes determined for the one or more vehicles in the plurality of vehicles.

As described above, server 105 may assign delivery orders and optimize delivery routes whenever a new delivery order is received from a user terminal 120-135. In some embodiments, server 105 may continuously optimize the delivery routes of each vehicle at pre-defined intervals until a pre-defined time period before the delivery route is to commence. In other embodiments, server 105 may optimize delivery routes in response to receiving a new delivery order until a pre-defined time period before the delivery route is to commence.

In some embodiments, server 105 may transmit the optimized delivery routes to the corresponding vehicles among the plurality of vehicles 128 a-c via vehicle server 128, which may act as a relay to provide the optimized delivery routes to the corresponding vehicles.

FIG. 5 illustrates a flow diagram of a method 500 for optimizing delivery vehicle resources in accordance with some exemplary embodiments of the present disclosure. Method 500 may be performed by, server 105 described with respect to FIG. 1, for example.

At 505, server 105 may determine a number of available delivery time slots and present them to a user. More specifically, server 105 may generate a synthetic order and compare the synthetic order to a snapshot of the time slot availability of the plurality of vehicles (as described above with respect to FIG. 2) retrieved from vehicle availability database 132 e (shown in FIG. 1C). Server 105 may maintain the snapshot based on information received from vehicle server 128 regarding the plurality of time slots each vehicle in the plurality of vehicles has. For example, vehicle server 128 may transmit information regarding the number of time slots each vehicle has, and the length of each time slot. Server 105 may determine which vehicles among the plurality of vehicles has sufficient capacity to accommodate the synthetic order. Upon determining which vehicles have sufficient capacity, server 105 may insert the synthetic order into each time slot in each of the vehicles having sufficient capacity. For each time slot the synthetic order is inserted into, server 105 may determine whether the insertion is feasible. In other words, server 105 may determine if all of the vehicle's other delivery orders can be met (e.g. delivered on time) if the synthetic order is inserted into that time slot and remove those time slots that would result in the vehicle being unable to fulfill one or more of its previously scheduled deliveries. At this point, server 105 may identify the time slots having at least one of the plurality of vehicles available for delivery during that time slot as acceptable delivery time slots and present them to the user via user terminals 120-130.

At 510 server 105 may determine whether a delivery order has been received. If server 105 determines that a delivery order has been received, at 515, server 105 may determine which vehicle the received delivery order is to be assigned to, and whether certain delivery orders need to be re-assigned to a different vehicle in order to optimize vehicle resources. At 520, server 105 may determine the sequence in which the assigned vehicle's delivery orders will be delivered. Server 105 may assign delivery orders to, and determine a delivery route for the vehicle based on the selected time slot of the received order, map data 132 d, and an overall cost that is a function of a number of delivery parameters. In some embodiments, server 105 may also re-assign delivery orders to and determine delivery routes for other vehicles in the plurality of vehicles based on the selected time slot of the received order, map data 132 d, and an overall cost that is a function of a number of delivery parameters. Examples of such delivery parameters may include number of vehicles from the plurality needed to deliver all orders, total number of miles driven by the vehicles during delivery, total driving time of the vehicles during delivery, total amount of idle time of the vehicles during delivery, and degree of lateness in delivering an order (if any) among others. Server 105 may utilize a meta-heuristic algorithm, such as simulated annealing, in order to determine which vehicle the received delivery order is to be assigned to, as well as the sequence in which that vehicle's delivery orders are to be delivered. In addition, server 105 may utilize the meta heuristic algorithm to determine whether certain delivery orders need to be re-assigned to a different vehicle in order to optimize vehicle resources, and the sequence in which each vehicle's assigned delivery orders will be delivered (delivery route). In some embodiments, server 105 may assign a particular weight to each delivery parameter when assigning delivery orders and determining delivery routes for the one or more vehicles. For example, server 105 may assign total mileage the largest weight, and thus may assign delivery orders to and determine delivery routes for the one or more vehicles from the plurality of vehicles based primarily on reducing the total miles driven by the one or more vehicles, as this will have the largest impact on the overall cost. In this way, server 105 may determine one or more delivery routes.

At 525, server 105 may further optimize each vehicle's delivery route. Server 105 may utilize any suitable local search algorithm, such as 1-0 exchange in order to calculate an optimized delivery route for each vehicle. Server 105 may utilize any suitable local search algorithm, such as 1-0 exchange in order to calculate an optimized delivery route for each vehicle. Server 105 may randomly select a delivery order from among the plurality of delivery routes, and iteratively insert the randomly selected delivery order into one or more randomly selected time slots from the plurality of delivery routes. Server 105 may then determine the cost effect of each insertion. In some embodiments, server 105 may insert the randomly selected delivery order into every time slot from the plurality of delivery routes and calculate the cost effect of every insertion. In still other embodiments, server 105 may determine which routes among the plurality of delivery routes have available time slots that overlap with the time slot of the randomly selected delivery order Server 105 may only insert the randomly selected delivery order into those routes having an available time slot that overlaps with the time slot of the randomly selected delivery order. Server 105 may insert the randomly selected delivery order into the time slot resulting in the largest reduction in overall cost. In some embodiments, server 105 may perform multiple iterations of the above described process.

In some embodiments, server 105 may generate an updated snapshot of time slot availability for the plurality of vehicles and store the updated snapshot in vehicle availability database 132 e for presentation to online users. The updated snapshot may be based on the optimized delivery routes determined for the one or more vehicles in the plurality of vehicles.

As described above, server 105 may assign delivery orders and optimize delivery routes whenever a new delivery order is received from a user terminal 120-135. In some embodiments, server 105 may continuously optimize the delivery routes of each vehicle at pre-defined intervals until a pre-defined time period before the delivery route is to commence. In other embodiments, server 105 may optimize delivery routes in response to receiving a new delivery order until a pre-defined time period before the delivery route is to commence.

In some embodiments, server 105 may transmit the optimized delivery routes to the corresponding vehicles among the plurality of vehicles 128 a-c via vehicle server 128, which may act as a relay to provide the optimized delivery routes to the corresponding vehicles.

In some embodiments, server 105 is configured to provide a horizontally-scalable system to provide expansion to additional origination locations and increased throughput. FIG. 6 illustrates an exemplary optimization and routing block 600 configured to be implemented on a system, such as server 105. In some embodiments, the optimization and routing block 600 is configured to be implemented on a virtual machine or server. The optimization and routing block 600 can include a scheduler 605, an optimizer 610, a geospatial engine 615, a database 132 e, and an administration block 620.

In some embodiments, a scheduler 605 is configured to receive delivery requests from user terminals 120-130, view available delivery slots, assign deliveries, and/or generate interim delivery snapshots to an optimizer 610. For example, in some embodiments, the scheduler 605 is configured to receive a request from a user to schedule a delivery. In some embodiments, the request from the user includes a desired time slot. The scheduler 605 obtains a persistent delivery snapshot for a plurality of vehicles 128 a-128 c associated with a predetermined origination location for the scheduled delivery. The persistent delivery snapshot may be an optimized delivery snapshot generated by an optimizer 610, as discussed in greater detail below. The persistent delivery snapshot can be loaded from a database 132 e, provided directly from an optimizer 610, and/or otherwise obtained by the scheduler 605. The scheduler 605 reviews the available delivery slots. If the scheduler 605 determines that the desired time slot is available in the persistent delivery snapshot, the scheduler 605 inserts the requested delivery into the time slot to generate an interim delivery snapshot. If the scheduler 605 determines that the desired time slot is not available in the persistent delivery snapshot, the scheduler 605 sends a response to the user that the desired delivery time slot is not available.

After verifying that a selected time slot is available, the scheduler 605 is configured to insert the requested delivery in the persistent delivery snapshot to generate an interim delivery snapshot. The scheduler 605 inserts the requested delivery at one of the available open slots corresponding to the selected time slot. For example, in some embodiments, the scheduler 605 is configured to perform a cost function analysis to determine a delivery slot with the least cost for insertion of the requested delivery, as discussed above with respect to FIGS. 3A-3B.

In some embodiments, the scheduler 605 applies a dynamic programming approach to find a slot among multiple delivery snapshots and updates an existing delivery snapshot with the requested delivery. For example, in some embodiments, the scheduler 605 receives a request to schedule a delivery in a specific time slot, such as a 3 PM-5 PM time slot. The scheduler 605 obtains a persistent delivery snapshot for a first origination location and determines that the 3 PM-5 PM delivery window is not available. The scheduler 605 may obtain one or more additional delivery snapshots from the database 132 e for the current origination location and/or may obtain persistent delivery snapshots for other origination locations that are located in proximity to the current origination location associated with the scheduler 605. For example, in some embodiments, the scheduler 605 obtains one or more alternative delivery snapshots from the database 132 e and determines if the desired delivery time slot can be accommodated in any of the alternative delivery snapshots. If an alternative delivery snapshot can accommodate the requested delivery, the scheduler 605 can book the delivery in the desired time slot and generate an interim delivery snapshot from the alternative delivery snapshot.

The optimization and routing block 600 includes an optimizer (e.g., vehicle routing problem (VRP) optimizer) 610 configured to apply one or more routing optimization processes, such as discussed above with respect to FIGS. 2-5. For example, in some embodiments, the optimizer 610 is configured to receive an interim delivery snapshot from the scheduler 605 and apply a simulated annealing process, a 1-0 replacement process, and/or any other suitable optimization process to the interim delivery snapshot. As discussed above, an optimizer 610 can be configured to asses a plurality of factors each having a predetermined weighting during an optimization process. In various embodiments, the optimizer 610 can include a stateless optimizer or stateful optimizer.

In some embodiments, the optimizer 610 includes a stateless optimizer configured to receive a single order request and return an inline solution to scheduler 605. The stateless optimizer applies an optimization process, such as the simulated annealing process discussed above, to an interim delivery snapshot received from a scheduler 605 to generate an updated persistent delivery snapshot. In some embodiments, the optimizer 610 applies an optimization process for a predetermined number of cycles and/or a predetermined duration (as bound by a configurable upper limit). In some embodiments, the predetermined number of cycles corresponds to a predetermined optimization period.

In some embodiments, the optimizer 610 includes a stateful optimizer configured to receive an interim delivery snapshot and generate an updated persistent delivery snapshot. The updated persistent delivery snapshot is associated with a unique identifier (such as a job ID, etc.). The stateful optimizer can generate a call (such as a callback to the scheduler 605) and/or can store the updated persistent delivery snapshot in a database, such as database 132 e. The updated persistent delivery snapshot is stored in the database. When the scheduler 605 (and/or an additional scheduler, as discussed below) requests a delivery snapshot for the predetermined origination location by providing the unique identifier, the stored (e.g., updated) persistent delivery snapshot is provided to the scheduler 605 as the current persistent delivery snapshot for the origination location.

In some embodiments, the optimizer 610 is configured to perform incremental optimization of one or more stored persistent delivery snapshots. The optimizer 610 can be configured to perform incremental optimization at a first predetermined interval, such as, for example, every five minutes, ten minutes, fifteen minutes, twenty minutes, etc. When initiating an incremental optimization process, the optimizer 610 obtains the persistent delivery snapshot (for example, from the database 132 e and/or from an optimization queue as discussed below) and applies a predetermined optimization process for a predetermined number of cycles to generate an updated persistent delivery snapshot. The updated persistent delivery snapshot is stored in the database 132 e and replaces the existing persistent delivery snapshot for the associated origination location. When a scheduler 605 receives a request to schedule a delivery, the scheduler 610 loads the persistent delivery snapshot from the database 132 e and receives the most-recently optimized persistent delivery snapshot. In some embodiments, the persistent delivery snapshot is provided to one or delivery vehicles 128 a-128 c at a predetermined time, after which the persistent delivery snapshot cannot be further updated or edited by the scheduler 605 and/or the optimizer 610. The optimizer 610 may repeat the incremental optimization process at the predetermined interval on the same and/or a different persistent delivery snapshot stored in the database 132 e.

In some embodiments, the optimizer 610 is configured to perform batch optimization at a second predetermined interval, such as, for example, every half hour, every hour, every two hours, etc. When initiating a batch optimization process, the optimizer 610 loads a current persistent delivery snapshot from the database 132 e (and/or from an optimization queue) and performs an extended optimization process. For example, in some embodiments, the optimizer 610 applies a simulated annealing process to an existing persistent delivery snapshot over a predetermined number of cycles corresponding to a predetermined time period, such as, for example, one hour, two hours, etc. to provide a greater comparison of the potential solution space and identify optimal solutions. In some embodiments, a batch optimization process may generate a new persistent delivery snapshot without using the existing persistent delivery snapshot as a starting point (i.e., using only existing deliveries).

In some embodiments, the optimizer 610 is configured to apply a reconciliation strategy during batch and/or incremental optimization, as illustrated in FIG. 7. During an optimization process, additional events (or delta events) may occur that would impact the persistent delivery snapshot. For example, delta events can include, but are not limited to, cancellation of existing orders, updates to existing orders, and addition of new orders. As shown in FIG. 7, in some embodiments, at time to, a trigger for incremental optimization is received by a optimizer 610. As discussed below, the trigger can include any suitable trigger, such as a Backend as a Service (BaaS) trigger, an internal/external clock, and/or any other suitable trigger. The optimizer 610 initiates an incremental optimization for a persistent delivery snapshot. The incremental optimization has a predetermined run time, such as, for example, fifteen minutes. At time t₁, a delta event, such as an order cancellation, order modification, and/or order addition can be received at the scheduler 605. The scheduler 605 may generate a request to the optimizer 610 (and/or an optimization queue) to optimize an interim delivery snapshot based on the persistent delivery snapshot being optimized by the optimizer 610.

At time t₂, the optimizer 610 completes the incremental optimization and, as discussed above, generates an updated persistent delivery snapshot. At time t₃, prior to saving the updated persistent delivery snapshot in the database 132 e, the optimizer 610 checks for delta events, such as the delta event that occurred at time t₁. If the optimizer 610 identifies one or more delta events, the optimizer 610 modifies the updated persistent delivery snapshot based on the delta event(s). For example, in some embodiments, the optimizer 610 incorporates the delta event(s) into the updated persistent delivery snapshot directly and/or loads the interim delivery solution from the optimization queue and discards the updated persistent delivery snapshot. After modifying the updated persistent delivery snapshot, the optimizer 610 performs an additional optimization process on the modified persistent delivery snapshot. The additional optimization process may include a cycle time that is less than, equal to, or greater than the cycle time of the incremental optimization process. After performing the additional optimization process, the optimizer 610 checks for additional delta events that occurred during the additional optimization process. If additional delta events are present, the optimizer 610 may perform a second additional optimization process. In some embodiments, the optimizer 610 includes a predetermined limit on the number of additional optimization processes that can be performed. For example, if the optimizer 610 performs three additional optimization processes and encounters additional delta events after the third optimization process, the optimizer 610 stops trying to generate an incremental update for the persistent delivery snapshot. If no additional delta events are identified, the optimizer stores the updated persistent delivery snapshot at time t₄.

In some embodiments, the optimization and routing block 600 includes a geospatial engine 615 configured to provide mapping data to the scheduler 605 and/or the optimizer 610. The geospatial engine 615 can include any suitable mapping engine configured to support distance and time matrix queries. In some embodiments, the geospatial engine 615 is configured to augment distance and time queries to account for modified forms of travel, such as foot travel vs. vehicle travel, on-road vs. off-road travel, etc. In some embodiments, the geospatial engine 615 is configured to pre-process map information using a predetermined process, such as a contraction hierarchy, to increase response time to queries.

In some embodiments, a server 105 can include a horizontally-scalable implementation of multiple optimization and routing blocks 600 and/or portions of multiple optimization and routing blocks 600. FIG. 8 illustrates a server environment 700 including a plurality of virtual machines 705 a-705 c each including an implantation of an optimization and routing block 600. The optimization and routing blocks 600 are illustrated with components in a scheduling layer 720 a and an optimization layer 720 b, although it will be appreciated that components can be located in any layer and/or across layers. For example, as shown in FIG. 8, each of the virtual machines 705 a-705 c can include a scheduler 605 a-605 c, an optimizer 610 a-610 c, and a geospatial engine 615 a-615 c. Although the schedulers 605 a-605 c and the optimizers 610 a-610 c are illustrated in separate layers 720 a, 720 b, it will be appreciated that the each of the virtual machines 705 a-705 c can include a single implementation of a optimization and routing block 600 containing each of scheduler 605 a-605 c, an optimizer 610 a-610 c, and a geospatial engine 615 a-615 c.

In some embodiments, the server environment 700 includes a scheduling layer 720 a including a plurality of virtual machines 705 a-705 c each including a scheduler 605 a-605 c and a geospatial engine 615 a-615 c. The schedulers 605 a-605 c are similar to the scheduler 605 discussed above and the geospatial engines 615 a-615 c are similar to the geospatial engine 615 discussed above, and similar description is not repeated herein. Each of the schedulers 605 a-605 c is associated with and configured to receive requests to schedule a delivery for a predetermined origination location, such as a store, a warehouse, etc. The schedulers 605 a-605 c receive requests for deliveries from users associated with and/or located near the predetermined origination location and attempt to schedule the deliveries within an existing persistent delivery snapshot for the associated predetermined origination location, for example, from database 132 e.

In some embodiments, each of the schedulers 605 a-605 c is configured to generate one or more calls or requests. For example, each of the schedulers 605 a-605 c may be configured to perform a view slot call, a book slot call, an update/cancel slot call, and/or an optimization call. For example, as discussed above with respect to FIG. 6, each of the schedulers 605 a-605 c are configured to view one or more available slots within a persistent delivery snapshot associated with a predetermined origination location and insert a requested delivery into an available slot (e.g., book a slot). In addition, each of the schedulers 605 a-605 c are configured to modify and/or remove previously scheduled deliveries. For example, in some embodiments, the schedulers 605 a-605 c are configured to modify a delivery time of a previously scheduled delivery, remove a previously scheduled delivery, and/or add additional deliveries.

In some embodiments, each of the schedulers 605 a-605 c is configured to generate an optimization call after generating in interim delivery snapshot. For example, in some embodiments, when a scheduler 605 a-605 c assigns a requested delivery to an available slot within a persistent delivery snapshot, the interim delivery snapshot may not contain an optimal route and/or optimal order for all deliveries and/or vehicles. The schedulers 605 a-605 c generate a call to an optimization layer 720 b. The generated call provides the interim delivery snapshot to the optimization layer 720 b, which includes a plurality of optimizers 610 a-610 c configured to implement an optimization process to optimize the interim delivery snapshot.

In some embodiments, each of the schedulers 605 a-605 c is configured to provide the interim delivery snapshot to an optimization queue 725. The optimization queue 725 is in communication with the optimization layer. When an optimizer 610 a-610 c is idle, the optimization queue 725 provides a pending interim delivery snapshot to the idle optimizer 610 a-610 c. The optimizer 610 a-610 c performs an optimization process to generate an updated persistent delivery snapshot. The optimizer 610 a-610 c may be implemented by the same virtual machine 705 a-705 c associated with the scheduler 605 a-605 c that generated the interim delivery snapshot and/or may be any available virtual machine 705 a-705 c selected from the available virtual machines 705 a-705 c.

In some embodiments, each of the virtual machines 705 a-705 c includes a geospatial engine 615 a-615 c and an optimizer 610 a-610 c. The geospatial engine 615 a-615 c may be the same geospatial engine 615 a-615 c used by the schedulers 605 a-605 c implemented by the respective virtual machine 705 a-705 c and/or may be an independent and/or dedicated geospatial engine 615 a-615 c. The optimizers 610 a-610 c and the geospatial engines 615 a-615 c are similar to the optimizer 610 and the geospatial engine 615 described above, and similar description is not repeated herein.

In some embodiments, each of the optimizers 610 a-610 c is configured receive an interim delivery snapshot and/or a persistent delivery snapshot and generate an updated persistent delivery snapshot. For example, in some embodiments, a scheduler 605 a-605 c generates an interim delivery snapshot which is provided to the optimization queue 725. When an optimizer 610 a-610 c is idle, the optimizer 610 a-610 c loads an interim delivery snapshot from the optimization queue and performs an optimization process to generate an updated persistent delivery snapshot. If no interim delivery snapshots are available in the optimization queue 725, the optimizers 610 a-610 c may be configured to perform an incremental and/or batch optimization. For example, persistent delivery snapshots for one or more stores are stored in a database 132 e. When an optimizers 610 a-610 c initiates an incremental and/or batch optimization, the optimizer 610 a-610 c loads a persistent delivery snapshot from the database 132 e and performs the incremental and/or batch optimization process to generate an updated persistent delivery snapshot that is stored in the database 132 e.

In some embodiments, each of the scheduling layer 720 a and the optimization layer 720 b are horizontally scalable. For example, in some embodiments, if additional origination locations (such as additional stores, warehouses, etc.) are added, the scheduling layer 720 a can add N additional schedulers 605 c, where N is equal to the number of additional origination locations being added. Similarly, if additional origination locations are added and/or a large number of unprocessed optimization requests are located in the optimization queue 725, the optimization layer 720 b can add N additional optimizers 610 c, where N is the number of additional origination locations and/or the number of unprocessed optimization requests in the optimization queue 725.

In some embodiments, each of the virtual machines 705 a-705 c are associated with a selected one of the origination locations. For example, in some embodiments, a first scheduler 605 a may be configured to receive all requests to schedule a delivery for a first origination location, a second scheduler 605 b may be configured to receive all requests to schedule a delivery for a second origination location, and a third scheduler 605 c may be configured to receive all requests to schedule a delivery for a third origination location. Similarly, in some embodiments, a first optimizer may be configured to handle optimization requests (including interim delivery snapshots, incremental optimization, and/or batch optimization) for delivery snapshots associated with the first origination location, a second optimizer may be configured to handle optimization requests for delivery snapshots associated with the second origination location, and a third optimizer may be configured to handle optimization requests for delivery snapshots associated with the third origination location.

The various embodiments described herein may employ various computer-implemented operations involving data stored in computer systems. For example, these operations may require physical manipulation of physical quantities usually, though not necessarily, these quantities may take the form of electrical or magnetic signals, where they or representations of them are capable of being stored, transferred, combined, compared, or otherwise manipulated. Further, such manipulations are often referred to in terms, such as producing, identifying, determining, or comparing. Any operations described herein that form part of one or more embodiments of the invention may be useful machine operations. In addition, one or more embodiments of the invention also relate to a device or an apparatus for performing these operations. The apparatus may be specially constructed for specific required purposes, or it may be a general purpose computer selectively activated or configured by a computer program stored in the computer. In particular, various general purpose machines may be used with computer programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus to perform the required operations.

The various embodiments described herein may be practiced with other computer system configurations including hand-held devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like.

One or more embodiments of the present invention may be implemented as one or more computer programs or as one or more computer program modules embodied in one or more computer readable media. The term computer readable medium refers to any data storage device that can store data which can thereafter be input to a computer system. The computer readable media may be based on any existing or subsequently developed technology for embodying computer programs in a manner that enables them to be read by a computer. Examples of a computer readable medium include a hard drive, network attached storage (NAS), read-only memory, random-access memory (e.g., a flash memory device), a CD (Compact Discs)—CD-ROM, a CD-R, or a CD-RW, a DVD (Digital Versatile Disc), a magnetic tape, and other optical and non-optical data storage devices. The computer readable medium can also be distributed over a network coupled computer system so that the computer readable code is stored and executed in a distributed fashion.

Although one or more embodiments of the present invention have been described in some detail for clarity of understanding, it will be apparent that certain changes and modifications may be made within the scope of the claims. Accordingly, the described embodiments are to be considered as illustrative and not restrictive, and the scope of the claims is not to be limited to details given herein, but may be modified within the scope and equivalents of the claims. In the claims, elements and/or steps do not imply any particular order of operation, unless explicitly stated in the claims.

Plural instances may be provided for components, operations or structures described herein as a single instance. Finally, boundaries between various components, operations and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the invention(s). In general, structures and functionality presented as separate components in exemplary configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements may fall within the scope of the appended claims(s). 

What is claimed is:
 1. A system, comprising: a computing device configured to: define at least one scheduler configured to: receive a request to schedule a delivery for an origination location, wherein the request includes a desired time slot; compare the request to a persistent delivery snapshot for the origination location to determine availability of the desired time slot; generate an interim delivery snapshot including the requested delivery when the persistent delivery snapshot has an available time slot corresponding to the desired time slot; and define at least one optimizer configured to: receive the interim delivery snapshot; generate an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.
 2. The system of claim 1, wherein the at least one optimizer comprises a stateless optimizer configured to provide the updated persistent delivery snapshot to one of the plurality of schedulers that generated the interim delivery snapshot.
 3. The system of claim 1, wherein the at least one optimizer comprises a stateful optimizer configured to associate a unique ID with the updated persistent delivery snapshot, wherein the optimizer is configured to store the updated persistent delivery snapshot in a database.
 4. The system of claim 1, wherein the computing device is configured to define an optimization queue, wherein the at least one scheduler is configured to provide the interim delivery snapshot to the optimization queue, and wherein the at least one optimizer is configured to receive the interim delivery snapshot from the optimization queue.
 5. The system of claim 4, wherein the at least one optimizer is configured to apply an incremental optimization process to the updated persistent delivery snapshot.
 6. The system of claim 4, wherein the at least one optimizer is configured to apply a batch optimization process to the persistent delivery snapshot.
 7. The system of claim 1, wherein the at least one optimizer is configured to: receive at least one delta event; and modify the updated persistent delivery snapshot based on the at least one delta event.
 8. The system of claim 1, wherein the computing device is configured to define at least one geospatial engine configured to generate mapping data, wherein the at least one geospatial engine is configured to receive distance and time matrix queries from the at least one scheduler and the at least one optimizer.
 9. The system of claim 8, wherein the at least one geospatial engine is configured to provide distance and time queries for off-road travel.
 10. A method comprising: defining a plurality of schedulers and a plurality of optimizers; receiving, at a selected one of the plurality of schedulers, a request to schedule a delivery for predetermined first origination location, wherein the request includes a desired time slot; comparing, by the selected one of the plurality of schedulers, the request to a persistent delivery snapshot for the first origination location to determine availability of the desired time slot; generating, by the selected one of the plurality of schedulers, an interim delivery snapshot including the requested delivery when the persistent delivery snapshot has an available time slot corresponding to the desired time slot; receiving, at a selected one of the plurality of optimizers, the interim delivery snapshot; generating, by the selected one of the plurality of the optimizers, an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.
 11. The method of claim 10, wherein the selected one of the plurality of optimizers comprises a stateless optimizer configured to provide the updated persistent delivery snapshot to the selected one of the plurality of schedulers.
 12. The method of claim 10, wherein the selected one of the plurality of optimizers comprises a stateful optimizer configured to associate a unique ID with the updated persistent delivery snapshot, wherein the selected one of the plurality of optimizers is configured to store the updated persistent delivery snapshot in a database.
 13. The method of claim 10, comprising: defining an optimization queue; providing, by the selected one of the plurality of schedulers, the interim delivery snapshot to the optimization queue; and receiving, by the selected one of the plurality of optimizers, the interim delivery snapshot from the optimization queue.
 14. The method of claim 13, wherein the selected one of the plurality of optimizers is configured to apply an incremental optimization process to the updated persistent delivery snapshot.
 15. The method of claim 13, wherein the selected one of the plurality of optimizers is configured to apply a batch optimization process to the updated persistent delivery snapshot.
 16. The method of claim 10, comprising: receiving, at the selected one of the plurality of optimizers, at least one delta event; and modifying, by the selected one of the plurality of optimizers, the updated persistent delivery snapshot based on the at least one delta event.
 17. The method of claim 10, comprising defining a plurality of geospatial engines configured to generate mapping data, wherein each of the geospatial engines is configured to receive distance and time matrix queries from one or more of the plurality of schedulers and/or one or more of the plurality of optimizers.
 18. A non-transitory computer readable medium having instructions stored thereon, wherein the instructions, when executed by a processor cause a device to perform operations comprising: defining a plurality of schedulers and a plurality of optimizers; receiving, at a selected one of the plurality of schedulers, a request to schedule a delivery for predetermined first origination location, wherein the request includes a desired time slot; comparing, by the selected one of the plurality of schedulers, the request to a persistent delivery snapshot for the first origination location to determine availability of the desired time slot; generating, by the selected one of the plurality of schedulers, an interim delivery snapshot including the requested delivery when the persistent delivery snapshot has an available time slot corresponding to the desired time slot; receiving, at a selected one of the plurality of optimizers, the interim delivery snapshot; generating, by the selected one of the plurality of the optimizers, an updated persistent delivery snapshot by applying an optimization process to the interim delivery snapshot.
 19. The non-transitory computer readable medium of claim 18, wherein the instructions, when executed by the processor cause the device to perform operations comprising: defining an optimization queue; providing, by the selected one of the plurality of schedulers, the interim delivery snapshot to the optimization queue; and receiving, by the selected one of the plurality of optimizers, the interim delivery snapshot from the optimization queue.
 20. The non-transitory computer readable medium of claim 18, wherein the instructions, when executed by the processor cause the device to perform operations comprising: receiving, at the selected one of the plurality of optimizers, at least one delta event; and modifying, by the selected one of the plurality of optimizers, the updated persistent delivery snapshot based on the at least one delta event. 